<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>冻结</title>
    <script th:src="@{/js/jquery.js}"></script>
    <script th:src="@{/js/layui.js}"></script>
    <link rel="stylesheet" type="text/css" th:href="@{/css/layui.css}">
</head>
<body>
    <div class="layui-bg-gray" style="margin-top: 50px;padding: 10px">
        <p style="font-size: 30px">您的账号处于
            <span th:if="${cold}">冻结</span>
            <span th:unless="${cold}">非冻结</span>
            状态
        </p>
    </div>
    <div style="margin-top: 50px;">
        <p style="font-size: 30px;margin-left: 100px">
            <span th:if="${cold}">
                <a th:href="@{/docold}" th:method="post" class="layui-btn">账号解冻</a>
            </span>
            <span th:unless="${cold}">
                <a th:href="@{/docold}" class="layui-btn">账号冻结</a>
            </span>
        </p>
    </div>
    <div class="layui-bg-gray" style="margin-top: 50px;padding: 10px">
        <p style="font-size: 20px">[[${coldmsg}]]</p>
    </div>
</body>
</html>